package com.sky.mapper;


import com.sky.entity.OrderDetail;
import com.sky.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDetailsMapper {
    /*
     * 订单详情数据
     * */
    void insertDedail(List<OrderDetail> orderDetails);
    /*
     * 查询订单详情
     * */
    @Select("select * from order_detail where order_id=#{id}")
    List<OrderDetail> queryByid(Long id);
/*
* 查询订单详情
* */
    @Select("select * from order_detail where order_id=#{id}")
    List<OrderDetail> sellectByid(long id);
}
